//
//  Entity.m
//  genePool
//
//  Created by Greg Dunn on 10/26/09.
//  Copyright 2009 __MyCompanyName__. All rights reserved.
//

#import "SSEntity.h"


@implementation SSEntity

@synthesize width, height, x, y, z, rotation, facing, pointPosition, entityType, entityID, stats, inventory, mobility;
@synthesize hitEffectGain, hitEffectSound, shootEffectGain, shootEffectSound, deadEffectGain, deadEffectSound;

- (id) init
{
	self = [super init];
	
	if(self != nil)
	{
		stats = [[SSStats alloc] init];
		hitEffectSound = @"hit.wav";
		self.hitEffectGain = 0.9f;
		
		deadEffectSound = @"wolf_death.wav";
		self.deadEffectGain = 0.9f;
		
	}	
	return self;
}

-(void) dealloc {
    [stats release];
    [inventory release];
    [mobility release];
	
    [super dealloc];
}

@end
